crypto/tls.serverHelloMsg.alpnProtocol (field)
8 uses
crypto/tls (current package)
handshake_client.go#L903: if err := checkALPN(hs.hello.alpnProtocols, hs.serverHello.alpnProtocol, false); err != nil {
handshake_client.go#L907: c.clientProtocol = hs.serverHello.alpnProtocol
handshake_client_tls13.go#L187: len(hs.serverHello.alpnProtocol) != 0 ||
handshake_messages.go#L731: alpnProtocol string
handshake_messages.go#L768: if len(m.alpnProtocol) > 0 {
handshake_messages.go#L773: exts.AddBytes([]byte(m.alpnProtocol))
handshake_messages.go#L929: m.alpnProtocol = string(proto)
handshake_server.go#L259: hs.hello.alpnProtocol = selectedProto
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)